
<div class="box">
    <div class="cat">
        <div id="account">
           <!-- <form id="login" style="" action="login.php">
                <label for="email"><strong>Email:</strong></label>
                <input type="email" id="email" name="email" value="" maxlength="150" />
                <br />
                <label for="password"><strong>Password:</strong></label>
                <input type="password" id="password" name="password" value="" maxlength="50" />
                <br />
                <input class="btn btn-mini" type="submit" value="Login" />
            </form><br /> 
            <p style="margin-top:5px;">
                <a href="#">Forgot Password</a> | <a href="#">New User</a><br />
                <a href="/~N02425083/fall12/psych_db/user/index.php">View Users</a>
            </p><br />-->
				<? if($fbUser): ?> <? $user = $facebook->api("/me"); ?>
                	<h3>Welcome</h3>
                    <img src="http://graph.facebook.com/<?=$fbUser?>/picture" /> 
                    <span style="text-weight:bold; text-wrap:usrestricted; color:#006; vertical-align:top;">
						<a href="http://facebook.com/<?=$user['id']?>"><?=$user['name']?></a>
                    </span>
                    <br />
                    <a href="<?=$facebook->getLogoutUrl()?>">Log Out</a>
                <? else: ?>
                <h3>Have an Account?</h3>
                    <a style="text-decoration:none; text-align:center;" role="button" class="btn btn-medium" href="<?=$facebook->getLoginUrl(array('scope' => 'read_stream, friends_likes'))?>">
                        &nbsp;&nbsp; Log in with Facebook
                    </a>
                <? endif; ?>
        </div>       
    </div>
    <div class="cat_bot"></div>
</div>
